Pod::Spec.new do |s|
  s.name             = 'HZBaseLib'
  s.version          = '0.0.1'
  s.summary          = '组件化开发之基础组件'
  s.description      = <<-DESC
                        组件化开发之基础组件：分类，网络，基础配置，工具等...
                       DESC

  s.homepage         = 'https://gitee.com/liuyihua2015/HZBaseLib'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'liuyihua' => '18551614289@139.com' }
  s.source           = { :git => 'https://gitee.com/liuyihua2015/HZBaseLib.git', :tag => s.version.to_s }
  s.ios.deployment_target = '8.0'

  #可分为几个子类组件

    s.subspec 'Base' do |b|
        b.source_files = 'HZBaseLib/Classes/Base/**/*'
    end

    s.subspec 'Category' do |c|
        c.source_files = 'HZBaseLib/Classes/Category/**/*'
        c.dependency 'MBProgressHUD'
    end

    s.subspec 'Network' do |n|
        n.source_files = 'HZBaseLib/Classes/Network/**/*'
        n.dependency 'AFNetworking'
    end

    s.subspec 'Tool' do |t|
        t.source_files = 'HZBaseLib/Classes/Tool/**/*'
    end

  # s.resource_bundles = {
  #   'XTBBaseLib' => ['XTBBaseLib/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'

end
